package com.atguigu.structure.decorator;

import java.math.BigDecimal;

public abstract class Decorator extends Drink{
    protected Drink drink;

    public Decorator(Drink drink) {
        this.drink = drink;
    }

    @Override
    public String getDescription() {
        return this.drink.getDescription();
    }

    @Override
    public BigDecimal getCost() {
        return this.drink.getCost();
    }
}
